package com.young.sync.config;

import com.young.sync.domain.ConsumeClientProperties;
import com.young.sync.service.entity.TopicEntity;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @description：
 * @author: yangyahui01
 * @date: 12/5/24 4:38 PM
 */
@Component
@ConfigurationProperties(prefix = "custom-topic")
@Data
public class TopicConf {
    /**
     * consume配置
     */
    private List<ConsumeClientProperties> consumes;

    private List<TopicEntity> topicList;
}
